scratch (something) together

Translations
réunir tant bien que mal
Definitions
To create or assemble something hastily or with limited resources, often implying a lack of thorough planning or preparation.